import { pages } from './utils/routers';

export default defineAppConfig({
  pages,
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#515151',
    selectedColor: '#f60',
    backgroundColor: '#fff',
    borderStyle: 'white',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: 'images/home.png',
        selectedIconPath: 'images/homed.png'
      },
      {
        pagePath: 'pages/mine/index',
        text: '我的',
        iconPath: 'images/my.png',
        selectedIconPath: 'images/myed.png'
      }
    ]
  }
})
